var host = "https://www.inmatch.net/shuidifudao/api/"
var host_file = "https://www.inmatch.net/shuidifudao/"

var config = {

  // 下面的地址配合 Server 工作

  //配置

  url_microService: `${host}`,
  url_microFileService: `${host_file}`,
  //根据用户openid注册或者获取用户信息
  url_getUserInfoByWxOpenid: `${host}` + 'user/getUserInfoByWxOpenid',
  //更新用户人气排名
  url_update_user_ranking: `${host}` + 'user/updateRankData',
	//获取我的人气
	url_my_rankers: `${host}` + 'user/myRankers',
  //获取排名数据
	url_get_ranking_list: `${host}` + 'user/getRankingList',
  //修改用户信息
  url_modifyUserInfo: `${host}` + 'user/modifyWxUserInfo',
  //获取用户提问历史数和余额情况
  url_getUserQuestionCountandBalance: `${host}` + 'user/getUserQuestionCountandBalance',
  //获取所有的分类
  url_getAllCategories: `${host}` + 'category/getAllCategories',
  //上传图片文件
  url_question_uploadImage: `${host}` + 'question/uploadImage',
  //上传录音文件
  url_uploadRecordFile: `${host}` + 'question/uploadRecordFile',
  //发布提问
  url_question_ask: `${host}` + 'question/askQuestion',
  //提问历史
  url_question_history: `${host}` + 'question/getQhistory',
  //采集formid
  url_addWXformId: `${host}` + 'user/addWXformId',
  //获取回复详情
  url_getQuestionReplyDetail: `${host}` + 'reply/getQuestionReplyDetail',
};

//对外把对象config返回

module.exports = config